package com.bwhx.eruler.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.bean.Feedback;
import com.bwhx.eruler.bean.Notice;
import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.dao.FeedbackDao;
import com.bwhx.eruler.service.FeedbackService;

@Service
public class FeedbackServiceImpl implements FeedbackService {
	
	@Autowired
	FeedbackDao feedbackDao;
	
	@Override
	public List<Feedback> list(Page p) {
		return feedbackDao.list(p);
	}

	@Override
	public Integer count(Feedback feedback) {
		return feedbackDao.count(feedback);
	}

	@Override
	public void update(Feedback feedback) {
		feedbackDao.update(feedback);
		
	}

	@Override
	public void save(Feedback feedback) {
		feedbackDao.save(feedback);		
	}

}
